package com.heima.common.enums;

public enum  GenderEnum {


    NV(0,"女"),
    NAN(1,"男");

    private int code; //0  1

    private String name; // 女  男

    GenderEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
